package com.atdel.demo33;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @BelongsProject: java_study
 * @BelongsPackage: com.atdel.demo32
 * @Author: Del
 * @CreateTime: 2025-03-30  17:00
 * @Description: 健康情况注解
 * @Version: 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface HealthStatus {
    enum Status { EXCELLENT, GOOD, FAIR, POOR }
    Status value() default Status.GOOD;
}
